home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19960425-19960715 / 000420_news@columbia.edu _Fri Jul 12 20:22:38 1996.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: news@columbia.edu
  2. Received: from apakabar.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30]) by watsun.cc.columbia.edu (8.7.5/8.7.3) with ESMTP id UAA10467 for <kermit.misc@watsun.cc.columbia.edu>; Fri, 12 Jul 1996 20:22:37 -0400 (EDT)
  3. Received: (from news@localhost) by apakabar.cc.columbia.edu (8.7.5/8.7.3) id UAA20730 for kermit.misc@watsun; Fri, 12 Jul 1996 20:22:36 -0400 (EDT)
  4. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  5. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  6. Newsgroups: comp.protocols.kermit.misc
  7. Subject: Re: kermit in half duplex
  8. Date: 13 Jul 1996 00:22:34 GMT
  9. Organization: Columbia University
  10. Lines: 47
  11. Message-ID: <4s6q8a$k7o@apakabar.cc.columbia.edu>
  12. References: <31E6D8DD.3D0D@ios.bc.ca>
  13. NNTP-Posting-Host: watsun.cc.columbia.edu
  14.  
  15. In article <31E6D8DD.3D0D@ios.bc.ca>, Andrew Sinclair  <asinc@ios.bc.ca> wrote:
  16. : I am trying to get two dos machines to communicate over a half duplex
  17. : line with kermit 3.13.
  18. :
  19. The current version is 3.14.
  20.  
  21. : I understand that there is a handoff character so
  22. : I should be able to do this.  Does anyone know how.
  23. :
  24. There is a section on half duplex communication in the manual, "Using
  25. MS-DOS Kermit".
  26.  
  27. : I am using a pair of
  28. : rs422 line drivers which are controlled by the RTS signals. The
  29. : communication link is a single twisted pair. I am able to make this work
  30. : no problem with full duplex operation on two twisted pairs but I need to
  31. : use the half duplex setup for the final setup.
  32. : One pc is 100m under water and I want to be able to upload new source
  33. : code to it after deployment so kermit would be a perfect solution if
  34. : this could work.
  35. You mean, you have an RS-232 connection from the PC to the line driver,
  36. and there is a single data wire between the two line drivers?  But as far
  37. as Kermit is concerned, there are separate receive and send wires, right?
  38.  
  39. Of course, you could also have used regular modems for this job -- that
  40. would have allowed full-duplex communication, which is much more efficient
  41. for file transfer, allowing sliding windows and faster error recovery.
  42.  
  43. Well, MS-DOS Kermit was explicitly designed to work with half duplex modems,
  44. so maybe all you need to do in that case is tell it to "set duplex half",
  45. which makes it follow the original RS-232 specification for RTS and CTS 
  46. as Request to Send and Clear to Send.  (Nowadays, RTS is more commonly used
  47. as Ready to Receive.)
  48.  
  49. Failing that, you can use the following commands:
  50.  
  51.   set handshake cr
  52.   set window 1
  53.   set flow none
  54.  
  55. This says that the handshake character is Carriage Return (cr), which appears
  56. at the end of each Kermit packet.  So each Kermit gives permission to the
  57. other to transmit by sending a packet.
  58.  
  59. - Frank